package homework.work4;

public class Son extends Father {
    int sA;
    int a;

    {
        sA=4;
        a=5;
    }

    public void testSon(){
        System.out.println("i am son; testSon");
    }

    public void test(){
        System.out.println("i am son; test");
    }

    //以下全为构造器
    public Son() {
    }

    public Son(int sA, int a) {
        this.sA = sA;
        this.a = a;
    }
}
